# -*- coding: utf-8 -*-

class Book(object):
    
    def __init__(self, book_id, isbn, isbn13, title, long_title,
        authors, publisher, summary, language, edition_info,
        physical_description, subjects, awards,  pixmap):
        self.book_id = book_id
        self.isbn = isbn
        self.isbn13 = isbn13
        self.title = title
        self.long_title = long_title
        self.authors = authors
        self.publisher = publisher
        self.summary = summary
        self.language = language
        self.edition_info = edition_info
        self.physical_description = physical_description
        self.subjects = subjects
        self.awards = awards
        self.pixmap = pixmap

    def set_pixmap(self, pixmap):
        self.pixmap = pixmap

    def get_pixmap(self):
        return self.pixmap

    def get_isbn(self):
        return self.isbn

    def get_isbn13(self):
        return self.isbn13

    def get_title(self):
        return self.title

    def get_authors(self):
        return self.authors

    def get_publisher(self):
        return self.publisher

    def get_long_title(self):
        return self.long_title

    def get_summary(self):
        return self.summary

    def get_language(self):
        return self.language

    def get_edition_info(self):
        return self.edition_info

    def get_physical_description(self):
        return self.physical_description

    def get_subjects(self):
        return self.subjects
    
    def to_string(self):
        return "Book_id: %s isbn: %s isbn13: %s Title: %s" %(self.book_id,
            self.isbn,self.isbn13, self.title)
    def get_cover(self):
        return self.pixmap


        